package chap4.Task;
public class Task13 {
    public static void main(String[] args) {
        int i = 1;
        int a = 1;
        int b;
        System.out.println("1-1000内十位是3，且能被7和11整除的数为:");
        while (i <= 1000) {
            b = i % 100 / 10;
            if (b == 3 && i % 7 == 0 && i % 11 == 0) {
                System.out.println(i);
                }
            i++;
            }
        }
    }


